package com.zhxy.manager.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.zhxy.manager.entity.College;
import lombok.Data;

import java.util.Date;

/***\n" +   @author  lazy
 " *                    .::::.\n" +
 " *                  .::::::::.\n" +
 " *                 :::::::::::  \n" +
 " *             ..:::::::::::'\n" +
 " *           '::::::::::::'\n" +
 " *             .::::::::::\n" +
 " *        '::::::::::::::..\n" +
 " *             ..::::::::::::.\n" +
 " *           ``::::::::::::::::\n" +
 " *            ::::``:::::::::'        .:::.\n" +
 " *           ::::'   ':::::'       .::::::::.\n" +
 " *         .::::'      ::::     .:::::::'::::.\n" +
 " *        .:::'       :::::  .:::::::::' ':::::.\n" +
 " *       .::'        :::::.:::::::::'      ':::::.\n" +
 " *      .::'         ::::::::::::::'         ``::::.\n" +
 " *  ...:::           ::::::::::::'              ``::.\n" +
 " * ```` ':.          ':::::::::'                  ::::..\n" +
 " *                    '.:::::'                    ':'````..\n" +
 " */
@Data
public class MajorDto {
    private int id;
    private  int cid;
    private int gid;
    private String name;
    private  String leader;
    private  String  phone;
    @JsonFormat(pattern = "yyyy-MM-dd HH-mm-ss")//纠正乱码
    private Date ctime;

    private College college;
}
